body {
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  width: 350px;
  padding: 15px;
}

h1 {
  font-size: 18px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

h2 {
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 8px;
  color: #555;
}

.status-section {
  background-color: #e8f4fc;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  text-align: center;
}

#status-message {
  font-weight: bold;
  color: #2196F3;
}

.mode-section, .manual-section, .custom-rules-section, .skipped-section {
  background-color: #fff;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mode-options {
  display: flex;
  justify-content: space-between;
}

.mode-options label {
  display: block;
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
}

.mode-options label:hover {
  background-color: #f0f0f0;
}

.time-range, .time-jump, .add-rule {
  margin-bottom: 10px;
}

input[type="number"] {
  width: 50px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

button {
  background-color: #2196F3;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}

button:hover {
  background-color: #0b7dda;
}

.custom-rules-list, .skipped-list {
  max-height: 100px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 5px;
  margin-bottom: 10px;
}

.rule-item, .skipped-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #eee;
}

.rule-item:last-child, .skipped-item:last-child {
  border-bottom: none;
}

.delete-btn {
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete-btn:hover {
  background-color: #d32f2f;
} 